﻿<%@ Page Language="C#" MasterPageFile="~/ClientSite.Master" AutoEventWireup="true"
    CodeBehind="ThongTin.aspx.cs" Inherits="SES.CMS.ThongTin" Title="Thông tin cá nhân" %>

<%@ Register Src="Module/ucTag.ascx" TagName="ucTag" TagPrefix="uc2" %>
<%@ Register Src="Module/ucLeftMenu.ascx" TagName="ucLeftMenu" TagPrefix="uc4" %>
<%@ Register Src="Module/ucRightMenu.ascx" TagName="ucRightMenu" TagPrefix="uc3" %>
<%@ Register Src="Module/ucBreadcrumb.ascx" TagName="ucBreadcrumb" TagPrefix="uc5" %>
<%@ Register Src="Module/ucHoTro.ascx" TagName="ucHoTro" TagPrefix="uc6" %>
<%@ Register Src="Module/ucShopInfo.ascx" TagName="ucShopInfo" TagPrefix="uc7" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="Style-2-Left">
        <uc4:ucLeftMenu ID="ucLeftMenu1" runat="server" />
        <uc7:ucShopInfo ID="ucShopInfo1" runat="server" />
        <uc6:ucHoTro ID="ucHoTro1" runat="server" />
    </div>
    <div class="Style-2-Right">
        <uc5:ucBreadcrumb runat="server" ID="brc1" />
        <div id="dProductDetail">
            <ul class="append_info">
                <li class="info_detail"><span class="sp_info_detai"><span style="font-size: 9px;
                    padding-right: 5px;"></span>Tên đăng nhập </span><span class="cl_sp">:</span> <span
                        class="info_result">
                        <asp:Label ID="lblDN" runat="server"></asp:Label></span> </li>
                <!--END DIV gender-->
                <li class="info_detail"><span class="sp_info_detai"><span style="font-size: 9px;
                    padding-right: 5px;"></span>Họ tên </span><span class="cl_sp">:</span> <span class="info_result">
                        <asp:Label ID="lbHT" runat="server"></asp:Label></span>
                    <asp:TextBox ID="txtHT" runat="server" CssClass="ip_info_result" Visible="false"> </asp:TextBox>
                </li>
                <!--END DIV gender-->
                <li class="info_detail"><span class="sp_info_detai"><span style="font-size: 9px;
                    padding-right: 5px;"></span>Email </span><span class="cl_sp">:</span> <span class="info_result">
                        <asp:Label ID="lbEmail" runat="server" CssClass="txt"></asp:Label></span>
                    <asp:TextBox ID="txtEmail" runat="server" CssClass="ip_info_result" Visible="false"></asp:TextBox>
                </li>
                <!--END DIV startdate-->
                <li class="info_detail"><span class="sp_info_detai"><span style="font-size: 9px;
                    padding-right: 5px;"></span>Số điện thoại </span><span class="cl_sp">:</span> <span
                        class="info_result">
                        <asp:Label ID="lbDT" runat="server"></asp:Label>
                    </span>
                    <asp:TextBox ID="txtDT" runat="server" CssClass="ip_info_result" Visible="false"></asp:TextBox>
                </li>
                <li class="info_detail"><span class="sp_info_detai"><span style="font-size: 9px;
                    padding-right: 5px;"></span>Di động </span><span class="cl_sp">:</span> <span class="info_result">
                        <asp:Label ID="lbMobile" runat="server"></asp:Label>
                    </span>
                    <asp:TextBox ID="txtMobile" runat="server" CssClass="ip_info_result" Visible="false"></asp:TextBox>
                </li>
                <!--END DIV gender-->
                <li class="info_detail sp_info_detai_change"><span class="sp_info_detai"><span style="font-size: 9px;
                    padding-right: 5px;"></span>Địa chỉ </span><span class="cl_sp">:</span> <span class="info_result">
                        <asp:Label ID="lbDC" Text="" runat="server"></asp:Label></span>
                    <asp:TextBox ID="txtDC" runat="server" CssClass="ip_info_result" Visible="false"></asp:TextBox>
                </li>
                <li class="info_detail sp_info_detai_change" style="border: none;">
                    <asp:Button ID="btnCapNhat" Text="Sửa thông tin" OnClick="btnCapNhat_Click" runat="server"
                        CssClass="button" /><span class="sp_info_detai"><span style="font-size: 9px; padding-right: 5px;"></span></span><span
                            class="cl_sp"></span> <span class="info_result"></span>
                    <asp:Button ID="btnUpdate" Text="Cập nhật" OnClick="btnUpdate_Click" runat="server"
                        CssClass="button" Visible="false" />
                </li>
                <!--END DIV startdate-->
                <!--END DIV startdate-->
            </ul>
            <a href="/DoiMK.aspx" class="checkout_link" style="margin-left: 25px; background: none;">
                Đổi mật khẩu</a><br />
            <a href="/DonDatHang.aspx" class="checkout_link" style="margin-left: 25px;">Xem đơn
                đặt hàng</a>
            <div style="margin-top: 40px;">
                <hr />
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <div class="SP">
                            Sản phẩm bán chạy
                            <ul class="sanPham">
                                <asp:Repeater runat="server" ID="rpt">
                                    <ItemTemplate>
                                        <li><a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString())%>'>
                                            <img src='/Media/<%#Eval("HinhAnh")%>' title='<%#Eval("TenSanPham")%>' alt='<%#Eval("TenSanPham")%>'
                                                class="bear" />
                                            <p class="pSanPham">
                                                <span class="spanTenSanPham">
                                                    <%#Eval("TenSanPham")%>
                                                </span>
                                            </p>
                                            <p class="pSanPham">
                                                <span class="spanDonGia">
                                                    <%#(bool)(Int64.Parse(Eval("DonGia").ToString()) == 0) ? "Liên hệ" : Eval("DonGia", "{0:0,0} đ")%>
                                                </span>
                                            </p>
                                        </a></li>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </ul>
                            </ItemTemplate> </asp:Repeater>
                            <asp:Label runat="server" Text="" ID="lbThongbao"></asp:Label>
                        </div>
                        <div style="width: 100%; float: left; margin-top: 10px;">
                            <div style="float: left;">
                                <asp:ImageButton ID="cmdPrev" Visible="false" OnClick="cmdPrev_Click" runat="server"
                                    ImageUrl="~/images/prevpage.png" /></div>
                            <div style="float: right;">
                                <asp:ImageButton ID="cmdNext" Visible="false" OnClick="cmdNext_Click" runat="server"
                                    ImageUrl="~/images/nextpage.png" /></div>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
        </div>
    </div>
</asp:Content>
